﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1.DesignerPatter.Observer.Event
{        
    public delegate void EventHandler();
    class Secretory:IEventSubject
    {

        public event EventHandler Update; 
        string state;
        public void Notyfy()
        {
            Update();
        }

        public string strState
        {
            get { return this.state; }
            set { this.state = value; }
        }
    }
}
